<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
        <style>
            *{
                margin: 0px;
                padding: 0px;
                list-style:none;

            }
            .header{
                height: 66px;
                background:lime;

            }
            .banner{
                width: 1212px;
                height: 512px;
                background:lime;
                margin:25px auto;
               
                
            }
            .list{
                width: 1212px;
                height: 36px;
                background:lime;
                margin:0px auto;
            }
            .con{
                width: 1212px;
                height: 1000px;
                background:lime;
                margin:25px auto;   
            }
            .more{
                width: 1212px;
                height: 36px;
                background:lime;
                margin:25px auto;
                text-align: center;
                /* 文字垂直居中，行高等于标签高度 */
                line-height: 36px;
                
            }
            .header .left{
                float: left;
                margin-left: 35px;
                margin-top: 26px;
            }
            .header ul{
                float: left;
                margin-left: 251px;
            }
            .header .right{
                float: right;
            }
            .header li{
                float: left;
                width: 42px;
                height: 42px;
                background:yellow;
                text-align: center;
                line-height: 42px;
                border-radius: 50%;
                margin-right: 10px;
                margin-top: 14px;
            }
            .banner .left{
                float: left;
                width: 884px;
                position: relative;

            }
            .banner .right{
                float: right;
                width: 292px;
         
            }
           
            .banner .right li{
                width: 292px;
                height: 162px;
                margin-bottom: 12px;
                background-color: red;
                /* 超出部分隐藏 */
                overflow: hidden;
                position: relative;
            }
            .banner .right img{
                width: 292px;
            }
            .banner .right p{
                position: absolute;
                bottom:0px;
                left:0px;
                width: 292px;
                height: 30px;
                line-height: 30px;
                /*rgba rgb红绿蓝 a透明度 0-1 */
                background: rgba(255,255,255,0.4);
                color: azure
            }
            .list li{
                float: left;
                margin-right: 10px;
                width: 130px;
                height: 35px;
                border:1px solid red;
                padding-left: 11px;
                line-height: 35px;
            }
            .con li{
                float: left;
                width: 292px;
                height: 316px;
                margin-right:14px ;
            }
            /* :nth-of-type()可以选择到具体某一个标签
                可以选择具体数值也可以某一类
                2n 3n 
             */
            .con li:nth-of-type(4n){
                margin-right: 0px;
            }
            .con img{
                width: 292px;
            }
            .con li p{
                padding:0px 10px;
                
            }
            .con li p:nth-of-type(1){
                line-height: 42px; 
            }
            .con .left{
                float: left;
                
            }
            .con .right1{
                float: right;
                margin-left: 122px;
            }
            .con .right2{
                float: right;
            }
        </style>
    </head>
    <body>
        <!-- .header+.banner+ul.list+ul.con+p.more+tab -->
        <div class="header">
            <span class="left">三</span>
            <ul>
                <li>赞</li>
                <li>萌</li>
                <li>哈</li>
                <li>艹</li>
                <li>买</li>
            </ul>
            <span class="right">登录</span>
        </div>
        <div class="banner">
            <img src="images/s003.jpg" class="left">
            
            <ul class="right">
                <li>
                    <img src="images/s02.jpg" alt="">
                    <p>想点亮圣诞气氛？试试这个【勋鹿】灯</p>
                </li>
                <li>
                    <img src="images/s03.jpg" alt="">
                    <p>designer 100 , 100个设计师， 100个故事</p>
                </li>
                <li>
                    <img src="images/s04.jpg" alt="">
                    <p>旧椅子获新生，还比以前更炫酷了</p>
                </li>
            </ul>
        </div>
        <ul class="list">
            <li>最新</li>
            <li>最热</li>
            <li>热议</li>
            <li>随机</li>
        </ul>
        <ul class="con">
            <li>
                <img src="images/i01.jpg" alt="">
                <p>用水才能擦去笔记，踏只想保护好设计师的创意</p>
                <!-- p用来包裹文本类元素 -->
                <p>
                    <span class="left">2小时前</span>
                    <span class="right1">52</span>
                    <span class="right2">1252</span>
                </p>
            </li>
            <li>
                <img src="images/i02.jpg" alt="">
                <p>马桶刷也要有优雅的姿态</p>
                <!-- p用来包裹文本类元素 -->
                <p>
                    <span class="left">2小时前</span>
                    <span class="right1">42</span>
                    <span class="right2">452</span>
                </p>
            </li>
            <li>
                <img src="images/i03.jpg" alt="">
                <p>健身也走“科技范”，你以为这仅仅只是个瑜伽垫？</p>
                <!-- p用来包裹文本类元素 -->
                <p>
                    <span class="left">2小时前</span>
                    <span class="right1">2</span>
                    <span class="right2">7482</span>
                </p>
            </li>
            <li>
                <img src="images/i04.jpg" alt="">
                <p>牙缝倩姐怎么么办？牙签压线都过时了，用【刷子】刷刷吧</p>
                <!-- p用来包裹文本类元素 -->
                <p>
                    <span class="left">2小时前</span>
                    <span class="right1">54</span>
                    <span class="right2">4522</span>
                </p>
            </li>
            <li>
                <img src="images/i05.jpg" alt="">
                <p>矮怎么了？照样能够拿到书架顶端的书</p>
                <!-- p用来包裹文本类元素 -->
                <p>
                    <span class="left">2小时前</span>
                    <span class="right1">2</span>
                    <span class="right2">122</span>
                </p>
            </li>
            <li>
                <img src="images/i06.png" alt="">
                <p>这戒指是一场关于肉体的盛宴，无关设计，无关时间，无关商业...</p>
                <!-- p用来包裹文本类元素 -->
                <p>
                    <span class="left">2小时前</span>
                    <span class="right1">2</span>
                    <span class="right2">122</span>
                </p>
            </li>
            <li>
                <img src="images/i07.png" alt="">
                <p>中国国际设计和节pk世界工业设计大会,哪个会更棒？</p>
                <!-- p用来包裹文本类元素 -->
                <p>
                    <span class="left">2小时前</span>
                    <span class="right1">2</span>
                    <span class="right2">122</span>
                </p>
            </li>
            <li>
                <img src="images/i07.jpg" alt="">
                <p>首届世界工业设计大会在家门口杭州，中国设计师们找起来。</p>
                <!-- p用来包裹文本类元素 -->
                <p>
                    <span class="left">2小时前</span>
                    <span class="right1">2</span>
                    <span class="right2">122</span>
                </p>
            </li>
            <li>
                <img src="images/i08.jpg" alt="">
                <p>我再北方的暖炉里，你应该需要这些一个散热阀门？</p>
                <!-- p用来包裹文本类元素 -->
                <p>
                    <span class="left">2小时前</span>
                    <span class="right1">2</span>
                    <span class="right2">122</span>
                </p>
            </li>
            <li>
                <img src="images/i09.jpg" alt="">
                <p>废纸打造的铅笔，像是一朵朵落入凡间的花</p>
                <!-- p用来包裹文本类元素 -->
                <p>
                    <span class="left">2小时前</span>
                    <span class="right1">2</span>
                    <span class="right2">122</span>
                </p>
            </li>
            <li>
                <img src="images/i10.jpg" alt="">
                <p>依靠在毯子尚，这件事听着就让人舒坦</p>
                <!-- p用来包裹文本类元素 -->
                <p>
                    <span class="left">2小时前</span>
                    <span class="right1">2</span>
                    <span class="right2">122</span>
                    
                </p>
            </li>
            <li>
                <img src="images/i11.jpg" alt="">
                <p>听笑话虚拟键盘没有实体按键，打字or音乐,他们说变就能变</p>
                <!-- p用来包裹文本类元素 -->
                <p>
                    <span class="left">2小时前</span>
                    <span class="right1">2</span>
                    <span class="right2">122</span>
                </p>
            </li>
        </ul>
     
    </body>
</html>

